import { createApp } from "vue";
import store from "@/store";
import App from "./App.vue";
import "@/styles/index.scss"; // global css
import "@/assets/css/iconfont.js";
import { setupRouter } from "./router";
// import "lib-flexible/flexible.js";

function bootstrap() {
  const app = createApp(App);
  setupRouter(app);
  app.use(store).mount("#app");
}

void bootstrap();

export default App;
